<%@ taglib prefix="stripes"
  uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<stripes:useActionBean binding="/ManageProjectEntity.action"
  event="View" id="actionBean" />
<c:choose>
  <c:when test="${empty actionBean.entity}">
    <tr>
      <th colspan="2">No Project Selected!</th>
    </tr>
  </c:when>
  <c:otherwise>
    <table align="left" height="100%" cellpadding="0" border="1">
      <stripes:errors action="actionBean">
        <tr>
          <td style="color: red;" colspan="2"></td>
        </tr>
      </stripes:errors>
      <stripes:form>
        <tr>
          <td>Edit Project below</td>
        </tr>
        <tr>
          <td><stripes:label id="name">Name:</stripes:label></td>
          <td><stripes:text name="entity.name" /></td>
        </tr>
        <tr>
          <td><stripes:label id="description">Description:</stripes:label></td>
          <td><stripes:text name="entity.description" /></td>
        </tr>
        <tr>
          <td><stripes:submit name="Save" value="Save" /></td>
        </tr>
      </stripes:form>
    </table>
  </c:otherwise>
</c:choose>

